Module: components/CreateUser
Variables
userDataSchema
• Const
userDataSchema: ZodObject
<{ id
: ZodString
; password
: ZodEffects
<ZodEffects
<ZodEffects
<ZodEffects
<ZodString
, string
, string
>, string
, string
>, string
, string
>, string
, string
> }, "strip"
, ZodTypeAny
, { id
: string
; password
: string
}, { id
: string
; password
: string
}>
Defined in
src/web-app/src/components/CreateUser.tsx:22
Functions
default
▸ default(root0
): Element
Form for creating a user.
Parameters
Name | Type | Description |
---|---|---|
root0 | Object | Props. |
root0.onChangeDone? | () => void | Callback to call when the password is changed. |
root0.userRoleTitle | UserRoleTitle | Title of the role to assign to the created user. |
Returns
Element